#!/bin/bash
function commit(){
	echo start
	git add .
	echo 1
	git commit -m $1
	echo 2
	git pull origin master
	echo 3
	git commit -m $1
	echo 4
	git push origin master
	echo end
}

commit $1